package com.wx.nchu_mall.model;

import java.util.Date;

public class OrderItem {
    private Integer id;                   //订单字表ID
    private Integer orderId;              //订单ID
    private Integer commId;               //商品ID
    private float   currentUnitPrice;     //生成订单时的商品单价
    private Integer  quantity;            //商品数量
    private Date   createTime;            //创建时间
    private Date   updateTime;            //更新时间
    private String  flag;
    private Float commPrice ;             //商品价格
    private String commImage ;            //商品图片
    private Integer commStatus;           //商品状态
    private String commPress;             //商品产地
    private String commName;              //商品名称
    private Integer cusId;                //用户Id

    public Integer getCusId() {
        return cusId;
    }

    public void setCusId(Integer cusId) {
        this.cusId = cusId;
    }

    public String getCommName() {
        return commName;
    }

    public void setCommName(String commName) {
        this.commName = commName;
    }

    public Float getCommPrice() {
        return commPrice;
    }

    public void setCommPrice(Float commPrice) {
        this.commPrice = commPrice;
    }

    public String getCommImage() {
        return commImage;
    }

    public void setCommImage(String commImage) {
        this.commImage = commImage;
    }

    public Integer getCommStatus() {
        return commStatus;
    }

    public void setCommStatus(Integer commStatus) {
        this.commStatus = commStatus;
    }

    public String getCommPress() {
        return commPress;
    }

    public void setCommPress(String commPress) {
        this.commPress = commPress;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }


    public Integer getCommId() {
        return commId;
    }

    public void setCommId(Integer commId) {
        this.commId = commId;
    }

    public float getCurrentUnitPrice() {
        return currentUnitPrice;
    }

    public void setCurrentUnitPrice(float currentUnitPrice) {
        this.currentUnitPrice = currentUnitPrice;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }


    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }
}
